Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1.4K
Visualizações
DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at node_modules\postcss\package.json

Since I upgraded Node to version 16, I started noticing this when I build my Angular app.

DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at "...\node_modules\postcss\package.json".

Update this package.json to use a subpath pattern like "./*".

Is there a way to fix this without downgrading the Node version?

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

Regarding the GitHub issue, this one is recurrent one:

https://github.com/postcss/postcss/issues/1455#issuecomment-872240742

An update of postcss should do the job.

over 4 years ago · Santiago Trujillo Relatório

0

I was using node 16 switched back to 14 and it started working.

over 4 years ago · Santiago Trujillo Relatório

0

Solution:

  1. Go to defined location C:\<xampp>\htdocs\<projName>\node_modules\tslib\package.json.
  2. At exports field - replace this "./": "./" to "./": "./*".
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda